/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Byte;

/**
 *
 * @author gamas
 */
public class compareTo {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
       Byte x=54;
       Byte y=24;
        System.out.println(x.compareTo(y));
        //compara dos dos objetos enteros si son iguales resa un 0, si
        //el numero pricipal es mayor regresa un 1 y si el numero secondario es mayor
        //regresa un -1
}

}
